package com.ruoyi.canteen.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店配送时间对象 canteen_md_deliver
 * 
 * @author zhangw
 * @date 2021-09-30
 */
public class CanteenMdDeliver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    private Long mdId;

    /** 门店关联id */
    @Excel(name = "门店关联id")
    private Long deptId;

    /** 下单开始时间 */
    @Excel(name = "下单开始时间")
    private String orderBegTime;

    /** 下单结束时间 */
    @Excel(name = "下单结束时间")
    private String orderEndTime;

    /** 配送时间 */
    @Excel(name = "配送时间")
    private String deliverTime;

    /** 配送时间段名称 */
    @Excel(name = "配送时间段名称")
    private String deliverName;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMdId(Long mdId) 
    {
        this.mdId = mdId;
    }

    public Long getMdId() 
    {
        return mdId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setOrderBegTime(String orderBegTime) 
    {
        this.orderBegTime = orderBegTime;
    }

    public String getOrderBegTime() 
    {
        return orderBegTime;
    }
    public void setOrderEndTime(String orderEndTime) 
    {
        this.orderEndTime = orderEndTime;
    }

    public String getOrderEndTime() 
    {
        return orderEndTime;
    }
    public void setDeliverTime(String deliverTime) 
    {
        this.deliverTime = deliverTime;
    }

    public String getDeliverTime() 
    {
        return deliverTime;
    }
    public void setDeliverName(String deliverName) 
    {
        this.deliverName = deliverName;
    }

    public String getDeliverName() 
    {
        return deliverName;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mdId", getMdId())
            .append("deptId", getDeptId())
            .append("orderBegTime", getOrderBegTime())
            .append("orderEndTime", getOrderEndTime())
            .append("deliverTime", getDeliverTime())
            .append("deliverName", getDeliverName())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
